package com.example.bnuzzu.entity;

import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDateTime;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author BNUZZU
 * @since 2021-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Orderinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "OrderID", type = IdType.ASSIGN_ID)
    private Long orderid;

    @TableField("OwnerID")
    private Integer ownerid;

    @TableField("TenantID")
    private Integer tenantid;

    @TableField("HouseID")
    private Integer houseid;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime datecreated;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime dateupdated;

    @TableField("OrderStatus")
    private Integer orderstatus;

    @TableField("Version")
    @Version
    private Integer version;


}
